PDF4Java Reference Documentation
com.o2sol.pdf4java.spatial Package / PDFRectilinearMeasure Class / setDistance Method
A number format collection for measurement of distance in any direction.
In This Topic
    setDistance Method
    In This Topic
    Sets the number formats for distance.
    The first element in the collection shall specify the conversion to the largest distance unit from units represented by the first element in . The scale factors from , (if present) and (if is present) shall be used to convert from default PDF units to the appropriate units before applying the distance function.
    Syntax

    Parameters

    distanceNumberFormats
    A number format collection for measurement of distance in any direction.
    Exceptions
    ExceptionDescription
    When distanceNumberFormats is null.
    See Also